package com.manager.devicemanager.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.manager.devicemanager.entity.OperationLog;
import com.manager.devicemanager.mapper.OperationLogMapper;
import com.manager.devicemanager.service.OperationLogService;
import com.manager.devicemanager.vo.OperationLogVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OperationLogServiceImpl  extends ServiceImpl<OperationLogMapper, OperationLog>  implements OperationLogService {
    @Autowired
    private OperationLogMapper operationLogMapper;


    @Override
    public IPage<OperationLogVO> getPage(Page<OperationLogVO> page, OperationLog operationLog) {
        return operationLogMapper.getPage(page, operationLog);
    }
}
